/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package controlador;

import java.sql.SQLException;
import modelo.Conexion;

/**
 *
 * @author Edder
 * @version 1.0
 * @param <T>
 */
public interface Controlador<T> {    
    public void insert(T objeto, Conexion cnx) throws SQLException, ClassNotFoundException;
    public void update(T objeto, Conexion cnx) throws SQLException, ClassNotFoundException;
    public T get(int id, Conexion cnx) throws SQLException, ClassNotFoundException;
}
